package com.yazi.mxz.server.response;

import java.util.List;


import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yazi.mxz.common.entity.beans.Address;
import com.yazi.mxz.common.entity.beans.ShoppingCart;
import com.yazi.mxz.server.response.mixin.AddressMixIn;
import com.yazi.mxz.server.response.mixin.ShoppingCartMixIn;

/**
 * 订单填写基础数据
 * @author mo_yq5
 * @date 2014-5-15
 */
public class OrderAddFormData {
	@JsonSerialize(contentAs=ShoppingCartMixIn.class)
	private List<ShoppingCart> shoppingCarts;
	@JsonSerialize(as=AddressMixIn.class)
	private Address address;
	
	public List<ShoppingCart> getShoppingCarts() {
		return shoppingCarts;
	}
	public void setShoppingCarts(List<ShoppingCart> shoppingCarts) {
		this.shoppingCarts = shoppingCarts;
	}
	public Address getAddress() {
		return address;
	}
	public void setAddress(Address address) {
		this.address = address;
	}
}
